@charset "UTF-8";

.dialog_bg{ background-color: rgba(0,0,0,0.5); position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 999; }
.dialog{
  position: fixed;
  left: 50%;
  top: 50%;
  width: 600px;
  background-color: #fff;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 30px rgba(0,0,0,0.1);
  z-index: 999;
  .dialog_header{
    padding:0 20px;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
    font-size: 20px;
  }
  .dialog_content{
    padding: 30px;
  }
  .dialog_footer{
    padding: 0 30px 30px;
    text-align: center;
    span{
      display: inline-block;
      height: 42px;
      line-height: 42px;
      border-radius: 21px;
      padding: 0 30px;
      margin: 0 15px;
      font-size: 16px;
      background-image: -webkit-gradient(linear, right top, left top, from(#009efd), to(#1bbc9d));
      background-image: linear-gradient(270deg, #009efd 0%, #1bbc9d 100%);
      color: #fff;
      cursor: pointer;
    }
  }
  .dialog_close{
    position: absolute;
    right: 10px;
    top: 10px;
    width: 34px;
    height: 34px;
    line-height: 34px;
    cursor: pointer;
    text-align: center;
    border-radius: 50%;
    background-color: #eee;
    color: #666;
    font-size: 16px;
    -webkit-transition:all 0.2s linear 0s;
    transition:all 0.2s linear 0s;
    &:hover{ color: #000; background-color: #ddd;}
  }
}
.dialogMaxH{
  position: absolute;
  transform: translate(-50%,0);
}